@chat-prefix-cls: ~"x-chat";
@box-height: 70px;

.@{chat-prefix-cls} {
	height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
	&-header {
		border-bottom: 1px solid #d6dce0;
		box-sizing: border-box;
		height: @box-height;
		line-height: @box-height;
	}

	&-content {
		flex: 1;
		background: #fff;
		padding: 0 16px;
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
		-webkit-transform: translate3d(0, 0, 0);
	}


	&-footer {
		background: #fff;
        display: flex;
        flex-direction: column;
        position: relative;
		border-top: 1px solid #d6dce0;
	    .resizeVertical{
            position: absolute;
          top: 0;
        //   background: #222;
          width: 100%;
          height: 2px;
          &:hover{
            cursor: row-resize;
          }
        }
    }

	&-ops {
		padding: 0 6px;
	}

	&-ops-icon {
		font-size: 20px;
		// margin-right: 20px;
		padding: 0 5px;
		cursor: pointer;
	}

	&-send {
		width: 100%;
		flex: 1;

		.ant-input-group-wrapper {
			display: block;
			margin-top: (@box-height - 28px) / 2;
		}
        textarea.ant-input {
            width: auto;
            flex: 1;
            resize:none;
            margin: 0 10px;
        }
		// .ant-input {
		// 	box-sizing: border-box;
		// 	border: 0;
		// 	font-size: 14px;
		// 	padding: 0;
		// 	box-shadow: 0 0 0 0;

		// 	&:focus {
		// 		border: 0;
		// 	}
		// }
		.ant-input-group-addon {
			border: 0;
			background-color: #fff;
		}
        &_box{
            display: flex;
            flex-direction: column;
            height: 100%;
            .ant-col-8{
                text-align: right;
            }
        }
	}
}

.hide {
    display: none !important;
}

input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    filter: alpha(opacity=0);
    opacity: 0;
    cursor: inherit;
    display: block;
}